package com.tensquare.user.dao;

import com.tensquare.user.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zzb
 * @version 1.0
 * @create 2020/12/22 21:44
 */
public interface AdminDao extends JpaRepository<Admin,String> {
    //通过登录名查询用户
    Admin findByLoginname(String loginName);
}
